package com.lh.api.vo;

import com.lh.common.enums.ActivityStatusEnum;
import com.lh.common.enums.PeriodStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @description: 一元夺宝详情对象
 * @author: gze
 * @create: 2020-05-15 10:39
 **/
@Data
@ApiModel("一元夺宝详情对象")
public class DoboDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动id")
    private Long aid;

    @ApiModelProperty(value = "商品的id值")
    private Long sid;

    @ApiModelProperty(value = "期数id")
    private Long pid;

    @ApiModelProperty(value = "期数id")
    private Integer period;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "活动图片")
    private String shopImg;

    @ApiModelProperty(value = "筹集人次")
    private Integer portionNum;

    @ApiModelProperty(value = "当前参与人数")
    private Integer currenPortion;

    @ApiModelProperty(value = "百分比")
    private BigDecimal percent;

    private String property;

    @ApiModelProperty(value = "开奖时间")
    private Date lotteryTime;

    @ApiModelProperty(value = "商品规格")
    private List<PropertyVo> propertyList;

    @ApiModelProperty(value = "图片链接")
    private List<String> imgList;

    private String img;

    @ApiModelProperty(value = "商品描述",allowEmptyValue=true,required = true)
    private String details;

    @ApiModelProperty(value = "系统时间")
    private Long systemTime;

    @ApiModelProperty(value = "时区")
    private String timeZoneId;

    @ApiModelProperty(value = "期数 list")
    private List<ShopPeriodVo> periodList;

    @ApiModelProperty(value = "活动状态  NOTSTARTED:未开始; UNDERWAY:进行中; FINISH:已结束")
    private ActivityStatusEnum activityStatus;

    @ApiModelProperty(value = "当期活动状态PROCESSING:进行中,REVEALED已揭晓")
    private PeriodStatusEnum status;

    @ApiModelProperty(value = "中奖用户名")
    private String userName;

    @ApiModelProperty(value = "中奖手机号")
    private String phone;

    @ApiModelProperty(value = "中奖夺宝码")
    private String code;
}
